<?php
class NewsController extends Nguyen_Controller_Action{
	public function init(){
		$this->loadTemplate('default');
		$model = new Administrator_Model_News_View();
		$info = $model->GetSiteInfo();
		$this->view->headMeta()->appendName('keywords', $info['meta']);
        $this->view->headMeta()->appendName('description', $info['description']);
        $this->view->headTitle($info['sitename'],true);
	}
	public function indexAction(){ 
		$model = new Administrator_Model_System();
		echo $model->Translate(4);
	}
	public function contentAction(){ 
		$model = new Administrator_Model_News_View();
		$siteinfo = $model->GetSiteInfo();
		$id = $this->_request->getParam('contentid','');
		$this->view->id = $id;
	}
}